package com.wxapp.market.api.pojo.po.vo;

import com.wxapp.common.constant.base.IBaseRequestPage;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author lgl
 * @Description 添加商品
 * @Datetime 2022/6/15 15:39
 * @Modified By
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class QRequestPageVo extends IBaseRequestPage {
    
    private List<String> goodIds;
    /**
     * 商品规格id
     */
    @Schema(description = "商品规格id")
    private String specId;
    /**
     * 商品规格详情id
     */
    @Schema(description = "商品规格详情id")
    private String specDetailId;
    /**
     * 品牌id
     */
    @Schema(description = "品牌id")
    private String brandId;
    /**
     * 标签id
     */
    @Schema(description = "标签id")
    private String labelId;
    /**
     * 类型id
     */
    @Schema(description = "类型id")
    private String typeId;
    /**
     * 商品名称
     */
    @Schema(description = "商品名称")
    private String name;
    /**
     * 商品价格 开始价格
     */
    @Schema(description = "商品价格 开始价格")
    private BigDecimal startPrice;
    /**
     * 商品价格 结束价格
     */
    @Schema(description = "商品价格 结束价格")
    private BigDecimal endPrice;
    /**
     * 是否在售
     */
    @Schema(description = "是否在售")
    private Boolean onSale;

    public QRequestPageVo(List<String> goodIds) {
        this.goodIds = goodIds;
    }
}
